package org.linlinjava.litemall.wx.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(value="商品详情响应辅料类",description="商品详情响应辅料类")
public class GoodsDetailAccessoryVo {

	@ApiModelProperty(value = "辅料id")
    private Integer id;
	@ApiModelProperty(value = "辅料组名称")
	private String groupName;
	@ApiModelProperty(value = "辅料组英文名称")
	private String groupNameEn;
	@ApiModelProperty(value = "辅料价格")
	private BigDecimal price;
	@ApiModelProperty(value = "计费类型：0:次(按次计费只需增加一次费用),1:份")
	private Integer costType;
	@ApiModelProperty(value = "原料id")
	private Integer merchandiseId;
	@ApiModelProperty(value = "每份辅料中原料数量(基本单位)")
    private Integer number;
	@ApiModelProperty(value = "默认选中的数量")
    private Integer selectNumber;
	@ApiModelProperty(value = "是否选中")
	private boolean selected = false;
}
